package org.example.medicalstaff.service;

import org.example.his.common.api.CommonResponse;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface PatientItemService {

    /**
     * API1 新增检查项目
     */
    CommonResponse<String> new_check(
            int MedicalID,
            int RegistID,
            int ItemID,
            String Name,
            String Objective,
            String Position,
            int IsUrgent,
            int Num,
            int State,
            int RecordType,
            int DoctorID
    );

    /**
     * API4 根据模板和模板明细来新增检查项目
     */
    CommonResponse<String> new_check_by_template(
            int MedicalID,
            int RegistID,
            int CheckTempID,
            String Objective,
            String Position,
            int IsUrgent,
            int Num,
            int State,
            int RecordType,
            int DoctorID
     );

    /**
     * API7 删除未开立项目
     */
    CommonResponse<String> del_no_init_pro(
            int MedicalID,
            int RegistID,
            int ItemID,
            int DoctorID
    );

    /**
     * API8 开立项目
     */
    CommonResponse<String> init_pro(
            int MedicalID,
            int RegistID,
            int ItemID,
            int DoctorID
    );

    /**
     * API9 作废项目
     */
    CommonResponse<String> repeal_init_pro(
            int MedicalID,
            int RegistID,
            int ItemID,
            int DoctorID
    );
}
